package cn.readjava.dao;

import cn.readjava.bean.UserOrder;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface UserOrderDao extends JpaRepository<UserOrder, Long> {

    List<UserOrder> findAllByOrderUserId(Long id);
}
